/*
 *	LCD interface header file
 *	See lcd.c for more info
 */

/* read kb button to 4 */


unsigned int8 kb_read(void);

/* write a byte to the LCD in 4 bit mode */

void lcd_write(unsigned char s);

/* Clear and home the LCD */

void lcd_clear(void);

/* write a string of characters to the LCD */

 void lcd_puts(char * s);

/* Go to the specified position */

void lcd_goto(unsigned char pos);

/* intialize the LCD - call before anything else */

 void lcd_init(void);

void lcd_putch(char s);

/*	Set the cursor position */

#define lcd_cursor(x)   lcd_write(((x)&0x7F)|0x80)

